-
-
Notifications
You must be signed in to change notification settings - Fork 20
/
pyproject.toml
73 lines (66 loc) 路 1.39 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
[tool.poetry]
name = "{{cookiecutter.repo_name}}"
version = "0.1.0"
description = ""
authors = ["User <user@example.com>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.10"
alembic = "^1.11.1"
loguru = "^0.7.0"
fastapi = {extras = ["all"], version = "^0.100.0"}
python-jose = {extras = ["cryptography"], version = "^3.3.0"}
passlib = {extras = ["bcrypt"], version = "^1.7.4"}
sqlalchemy = "^2.0.19"
pydantic = "^2.0.3"
asyncpg = "^0.28.0"
[tool.poetry.group.dev.dependencies]
isort = "^5.12.0"
mypy = "^1.4.1"
black = "^23.7.0"
pytest = "^7.4.0"
pre-commit = "^3.3.3"
[tool.black]
line-length = 120
target-version = ['py310']
include = '\.pyi?$'
exclude-extend = '''
/venv
/.venv
/__pycache__
/.mypy_cache
/.pytest_cache
/db.sqlite3
/alembic
'''
[tool.ruff]
line-length = 120
select = ["E", "F", "UP", "I"]
ignore = ["E501"]
fixable = ["A", "B", "C", "D", "E", "F", "I"]
exclude = [
".direnv",
".eggs",
".git",
".mypy_cache",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
"migrations",
"__pypackages__",
"buck-out",
"build",
"dist",
"node_modules",
"venv",
"alembic"
]
[tool.ruff.isort]
section-order = ["future", "fastapi", "standard-library", "third-party", "first-party", "local-folder"]
[tool.ruff.isort.sections]
fastapi = ["fastapi"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"